﻿using Identity.API.Models.BaseEntity;
using RepositoryLib;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Identity.API.Models
{
    [Table("WeChatLoginUserLog")]
    public class WeChatLoginUserLog
        : Entity, IAggregateRoot
    {
        /// <summary>
        /// 微信OpenId
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// SessionKey
        /// </summary>
        public string SessionKey { get; set; }
        /// <summary>
        /// 访问时间
        /// </summary>
        public DateTime? VisitTime { get; set; }
        /// <summary>
        /// 返回Guid
        /// </summary>
        public string LoginGuid { get; set; }
    }
}
